//this class use qt library mutex to implement muteximpl interface
//andycai_sc 2011-05-29

#ifndef QTMUTEXIMPL_H
#define QTMUTEXIMPL_H

#include <GParallel/GMutexImpl.h>
#include <QMutex>

class QtMutexImpl : public GMutexImpl
{
public:
    QtMutexImpl();
    virtual ~QtMutexImpl();

    void lockImpl();

    void unlockImpl();

private:
    QMutex m_qMutex;
};

#endif
